package drh.test;

import java.util.List;

import drh.bean.Evaluate;
import drh.dao.EvaluateDao;
import drh.dao.impl.EvaluateDaoImpl;

public class testEvaluate {
	static EvaluateDao dao = new EvaluateDaoImpl();
	public static void main(String[] args) {
		getEvaluatePaging();
		//dao.deleteEvaluteById(7);
		//dao.updateEvaluate(new Evaluate(8,1,1,"1","2008-08-08",1));
        //dao.addEvaluate(new Evaluate(6,6,"6","2009-09-09",6));	
	}
	
	private static void getEvaluatePaging() {
		List<Evaluate> getEvaluatePaging = dao.GetEvaluatePaging(1,2);
		for (Evaluate evaluate : getEvaluatePaging) {
			System.out.println(evaluate);
		}
	} 
}
